package com.xmj.cs.service;

import com.xmj.cs.domain.Customers;

import java.util.List;

/**
 * 顾客Service接口
 *
 * @author ohh
 * @date 2024-04-21
 */
public interface ICustomersService
{
    /**
     * 查询顾客
     *
     * @param customerID 顾客主键
     * @return 顾客
     */
    public Customers selectCustomersByCustomerID(Long customerID);

    /**
     * 查询顾客列表
     *
     * @param customers 顾客
     * @return 顾客集合
     */
    public List<Customers> selectCustomersList(Customers customers);

    /**
     * 新增顾客
     *
     * @param customers 顾客
     * @return 结果
     */
    public int insertCustomers(Customers customers);

    /**
     * 修改顾客
     *
     * @param customers 顾客
     * @return 结果
     */
    public int updateCustomers(Customers customers);

    /**
     * 批量删除顾客
     *
     * @param customerIDs 需要删除的顾客主键集合
     * @return 结果
     */
    public int deleteCustomersByCustomerIDs(Long[] customerIDs);

    /**
     * 删除顾客信息
     *
     * @param customerID 顾客主键
     * @return 结果
     */
    public int deleteCustomersByCustomerID(Long customerID);
}
